/*************************************************
* CHIPSEA F60 UART HAL
* Copyright(c) 2018, NewDegreeTechnology, Inc.
**************************************************/

#include "hal_ndt_common.h"

#ifdef CS_F60

#ifndef __HAL_CS_F60_UART_H
#define __HAL_CS_F60_UART_H

#include <stdarg.h>


#ifdef  FALSE
#undef  FALSE
#endif
#define FALSE   (0)

#ifdef  TRUE
#undef  TRUE
#endif
#define TRUE    (1)

typedef struct{
	int dest;
	void (*func)(unsigned char);
	char *loc;
} PRINTK_INFO;

extern void User_UART_Init(void);

//extern int print (const char *fmt, ...);
//extern int printk(PRINTK_INFO *, const char *, va_list);
//extern int sprintf (char *s, const char *fmt, ...);

#endif	/* __HAL_CS_F60_UART_H */

#endif /* End of CS_F60 */
